package com.jian.java.dao;

import com.jian.java.bean.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Jiange
 * @create 2021-06-02-15:31
 */
@Mapper
@Repository
public interface PaymentDao {
    int create(Payment payment);
    Payment getPaymentById(int id);
    List<Payment> getAll();
}
